class TpshopRegister:
    # 断言注册接口
    def register_assert(self, resp, state_code, code, msg):
        assert state_code == resp.status_code
        assert code == resp.json()["status"]
        assert msg == resp.json()["msg"]
